/*
 * @Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @Date: 2024-08-12 12:01:51
 * @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @LastEditTime: 2024-08-20 11:31:20
 * @FilePath: \FCDS_032C\bsp\fldrv_common.h
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#ifndef __FLDRV_COMMON_H__
#define __FLDRV_COMMON_H__

typedef unsigned char  bool;

#define log_build(format, ...)	printf("[%s_%s] "format, __DATE__, __TIME__,  ##__VA_ARGS__)  ;
#define log_debug(format, ...)	printf("[%s] "format, __func__,  ##__VA_ARGS__)  ;

typedef enum {OFF = 0, ON = !OFF} switch_state;
#endif
